﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WCFInvest.Security.ConsoleClient
{
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(true);
            Application.Run(new MainForm());
            //Console.WriteLine("Please ENTER to make service calss.");
            //Console.ReadLine();

            //ConsoleClient.SampleClient proxy = new ConsoleClient.SampleClient();

            //try
            //{
            //    proxy.ClientCredentials.Windows.ClientCredential = new System.Net.NetworkCredential("ctxtester", "1qaz!QAZ", "ctxus.com");
            //    Console.WriteLine(proxy.GetPublicCode());
            //    //Console.WriteLine(proxy.GetMemberCode());
            //    //Console.WriteLine(proxy.GetSecretCode());
            //}
            //catch (Exception e)
            //{
            //    Console.WriteLine("Exception:" + e.Message);
            //}

            //Console.ReadLine();
        }
    }
}
